package com.polaris.live.manager

/**
 * PageManager
 *
 * @author Created by lucas on 2023/12/14 08:54
 */
object PageManager {

    private var mIsOpenMain = false //主页是否开启

    /**
     * main已经打开
     */
    fun openMain() {
        mIsOpenMain = true
    }

    /**
     * main已经关闭
     */
    fun closeMain() {
        mIsOpenMain = false
    }

    /**
     * main是否打开
     */
    fun isOpenMain(): Boolean {
        return mIsOpenMain
    }
}